if [ $1 == "logd" ]; then
    cd $(pwd)/out/build/test_package/
    ./clogd clog_config.json
elif [ $1 == "test" ]; then
    cd $(pwd)/out/build/test_package/
    ./clog_test
elif [ $1 == "kill" ]; then
    killall -9 clogd
    killall -9 clog_test
    rm -rf /dev/shm/clog_shmem
fi
